package com.example.teach.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teach.entity.Course;
import com.example.teach.entity.Result;
import com.example.teach.vo.ScheduleVO;
public interface CourseService extends IService<Course> {
    Course selectByName(String courseName);


    String addCourse(Integer majorId, Integer courseId);

    Result selectByMajorId(Integer majorId);

    Result delete(Integer majorId, Integer courseId);

    void deleteById(Integer majorId);
}
